<?php
include_once EPART_SCHEDULE_NAME."-header.php";

$cateno = schedule_get_query_var("cateno");
$category_obj = get_category_list();
?>
<script type="text/javascript">
//<![CDATA[
    var cateno = "<?php echo $cateno;?>";
    var schedule_user_url = "<?php echo WP_URL."/schedule/";?>";    
//]]>
</script>

<div id="user-search-category">
    <form id="user-search-category-form" name="user-search-category-form" method="post" action="">
    <select id="user-sk-cateno" name="sk_cateno">
        <option value="">전체</option>
        <?php      
        foreach ($category_obj as $row){
          $cate_selected = ($cateno == $row->ev_cateno) ? " selected=\"selected\"" : "";
       ?>
            <option value="<?php echo $row->ev_cateno;?>"<?php echo $cate_selected;?>><?php echo $row->ev_catename;?></option>
        <?php }?>
    </select>
    <input type="submit" value="선택" />
    </form>
</div>
<div id="user-calendar"></div>
<div id="prev-click-id"></div>
<div id="user-event-view">
    <h3>일정상세정보</h3>
    <table id="user-event-view-table" cellspacing="0">
        <colgroup>
            <col width="25%" />
            <col width="75%" />
        </colgroup>

        <tbody>
            <tr>
                <td cope="col" class="first-column">제목</td>
                <td cope="col"></td>
            </tr>
            <tr>
                <td class="first-column">시작일</td>
                <td></td>
            </tr>
            <tr>
                <td class="first-column">종료일</td>
                <td></td>
            </tr>
            <tr>
                <td class="first-column">장소</td>
                <td></td>
            </tr>
            <tr>
                <td class="first-column">내용</td>
                <td></td>
            </tr>                        
        </tbody>
    </table>
</div>